﻿using System;
using System.Collections.Generic;
using System.Text;

namespace KioskViewerBLL.BLLObjects
{
    /// <summary>    
    /// Class that holds information about a Media.    
    /// </summary>
    [Serializable]
    public class MediaSearch
    {
        private Guid _media_id;
        private string _title;
        private string _catalog_id;
        private string _description;
        private string _media_types;
        private string _artist;
        private string _filename;
        private DateTime _added;
        private DateTime _updated;
        private string _physical_path;
        private string _media_code;
        private string _track_length;



        /// <summary>
        /// Default constructor for Media class.
        /// </summary>
        public MediaSearch()
        {
        }

        public MediaSearch(Guid media_id,
                            string title,
                            string catalog_id,
                            string description,
                            string media_types,
                            string artist,
                            string filename,
                            DateTime added,
                            DateTime updated,
                            string physical_path,
                            string media_code,
                            string track_length
                        )
        {
            _media_id = media_id;
            _title = title;
            _catalog_id = catalog_id;
            _description = description;
            _media_types = media_types;
            _artist = artist;
            _filename = filename;
            _added = added;
            _updated = updated;
            _physical_path = physical_path;
            _media_code = media_code;
            _track_length = track_length;
        }
        // properties page

        public Guid Media_id
        {
            get { return _media_id; }
            set { _media_id = value; }
        }

        public string Title
        {
            get { return _title; }
            set { _title = value; }
        }

        public string Catalog_id
        {
            get { return _catalog_id; }
            set { _catalog_id = value; }
        }


        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }


        public string Media_types
        {
            get { return _media_types; }
            set { _media_types = value; }
        }


        public string Artist
        {
            get { return _artist; }
            set { _artist = value; }
        }


        public string Filename
        {
            get { return _filename; }
            set { _filename = value; }
        }


        public DateTime Added
        {
            get { return _added; }
            set { _added = value; }
        }


        public DateTime Updated
        {
            get { return _updated; }
            set { _updated = value; }
        }


        public string Physical_path
        {
            get { return _physical_path; }
            set { _physical_path = value; }
        }

        public string Media_code
        {
            get { return _media_code; }
            set { _media_code = value; }
        }
        public string Track_length
        {
            get { return _track_length; }
            set { _track_length = value; }
        }

    }
}
